<template>
	<view class="ranContent">
		<view class="leftImg">
			<image class="leftImage" :src="data.coverImgUrl"></image>
		</view>
		<view class="rightBox">
			<text v-for="(item,index) in data.tracks">{{index+1}}. {{item.first}}-{{item.second}}</text>
		</view>
	</view>
</template>

<script>
	export default {
		name:"ranTitle",
		props:{
			data:Object
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
	.ranContent{
		height: 220rpx;
		width: 750rpx;
		display: flex;
		.leftImg{
			width: 250rpx;
			height: 100%;
			padding: 10rpx;
			box-sizing: border-box;
			.leftImage{
				width: 100%;
				height: 100%;
			}
		}
		.rightBox{
			width: 500rpx;
			height: 100%;
			padding: 16rpx 10rpx;
			box-sizing: border-box;
			display: flex;
			align-content: space-between;
			flex-wrap: wrap;
			text{
				display: block;
				width: 100%;
				font-size: 28rpx;
				color: #666;
			}
		}
	}
</style>
